package cn.com.self.apis.file.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * 业务异常处理类
 *
 * @author Leng.c
 * @Date 2020-10-21 19:20
 */

@Setter
@Getter
@AllArgsConstructor
public class BussinessException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    /**
     * 错误码
     */
    private String code;

    /**
     * 错误消息
     */
    private String defaultMessage;

}
